import cv2
import numpy as np
import imgShow.Img as imgShow

img = cv2.imread('1.jpg', cv2.IMREAD_GRAYSCALE)
v1 = cv2.Canny(img, 100, 200)
v2 = cv2.Canny(img, 50, 100)
res = np.hstack((v1, v2))
imgShow.cv_show(res, 'img')